package sharedspace;
import java.io.Serializable;

public class ApprovingGrade implements Serializable, interfacep.ApprovingGrade{

	/**
	  * @author Amir S.
	  * @author Jacob C.
	  * @author Maya G.
	  * @author Michael V. 
	  * 
	  * ApprovingGrade is an Entity of the teacher to approve the computer grade of student.
	  * the teacher can approve computer automatic check grade or change the grade with addition of comment
	 */
	private static final long serialVersionUID = 1L;
	static public int NUM_OF_COLOUMS = 7; 
	private Teacher teacher;
	private StudentInTest studentInTest;
	private ExecuteTest executeTest;
	private String[] teacherComment;
	private boolean teacherApprove;
	private String teacherCommentForGrade;
	private int studentFianlGrade;
	
	public ApprovingGrade()
	{
		
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public StudentInTest getStudentInTest() {
		return studentInTest;
	}

	public void setStudentInTest(StudentInTest studentInTest) {
		this.studentInTest = studentInTest;
	}

	public ExecuteTest getExecuteTest() {
		return executeTest;
	}

	public void setExecuteTest(ExecuteTest executeTest) {
		this.executeTest = executeTest;
	}

	public String[] getTeacherComment() {
		return teacherComment;
	}

	public void setTeacherComment(String[] teacherComment) {
		this.teacherComment = teacherComment;
	}
	public void setTeacherComment_i(String comment,int i)
	{
		this.teacherComment[i]=comment;
	}

	public boolean isTeacherApprove() {
		return teacherApprove;
	}

	public void setTeacherApprove(boolean teacherApprove) {
		this.teacherApprove = teacherApprove;
	}

	public String getTeacherCommentForGrade() {
		return teacherCommentForGrade;
	}

	public void setTeacherCommentForGrade(String teacherCommentForGrade) {
		this.teacherCommentForGrade = teacherCommentForGrade;
	}

	public int getStudentFianlGrade() {
		return studentFianlGrade;
	}

	public void setStudentFianlGrade(int studentFianlGrade) {
		this.studentFianlGrade = studentFianlGrade;
	}
	
	
	
	

}
